package com.hjm.project.weaningGear.weaningGear.mapper;

import java.util.List;
import com.hjm.project.weaningGear.weaningGear.domain.WeaningGear;

/**
 * 撤机归档记录Mapper接口
 * 
 * @author maker-platform
 * @date 2021-01-26
 */
public interface WeaningGearMapper 
{
    /**
     * 查询撤机归档记录
     * 
     * @param id 撤机归档记录ID
     * @return 撤机归档记录
     */
    public WeaningGear selectWeaningGearById(Long id);

    /**
     * 查询撤机归档记录列表
     * 
     * @param weaningGear 撤机归档记录
     * @return 撤机归档记录集合
     */
    public List<WeaningGear> selectWeaningGearList(WeaningGear weaningGear);

    /**
     * 新增撤机归档记录
     * 
     * @param weaningGear 撤机归档记录
     * @return 结果
     */
    public int insertWeaningGear(WeaningGear weaningGear);

    /**
     * 修改撤机归档记录
     * 
     * @param weaningGear 撤机归档记录
     * @return 结果
     */
    public int updateWeaningGear(WeaningGear weaningGear);

    /**
     * 删除撤机归档记录
     * 
     * @param id 撤机归档记录ID
     * @return 结果
     */
    public int deleteWeaningGearById(Long id);

    /**
     * 批量删除撤机归档记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWeaningGearByIds(String[] ids);
}
